FILE = '/home/nagyv/tmp/rb.log'

def log(string, file=FILE):
    open(file, 'a').write(str(string))
    open(file, 'a').write('\n')